-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path version ignored #1305
Comments
well! deleting line: version ['v2', 'v1'] from class V1::Domain::API < Grape::API
version 'v1'
.....
end class V2::Domain::API < Grape::API
version 'v2'
.....
end Fixed my problem 😄 |
Right, the first syntax is not something that actually exists, it cannot guess that v1 is actually the If you think the documentation is confusing, please do contribute an update. Because the syntax on the first case is actually correct, and says the parent API supports both |
@dblock : right, I think we can update documentation for this. |
related with #133
grape v 0.13.0 and v 0.14.0
Hi, I guess it is still reproducing. I am using https://github.com/ruby-grape/grape#path versioning with prefix 'api'
/api/v1/passwordless/request_validation?
The requests above always returns "v2" regardless of the
path
being set, and all V2 test cases passes, but v1 test cases broken.I tried with grape version
0.13.0
and0.14.0
Thanks
The text was updated successfully, but these errors were encountered: